package spring_test.bean;


public class UserService {
    private String name;

    public UserService() {
    }

    public UserService(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "UserService{" +
                "super="+super.toString()+
                ",name='" + name + '\'' +
                '}';
    }

    public void queryUserInfo() {
        System.out.println("查询用户信息");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
